window.onload = function() {
	var countTime = 5;
	var tar = document.getElementById('countDown');
	var countAct = function() {
		countTime--;
		tar.innerHTML = countTime;
		if (countTime == 0) {
			clearInterval(countDown);
			window.history.back();
		}
	}
	var countDown = setInterval(countAct, 1000);
	var prevP = document.getElementById('prevPage');
	prevP.onclick = function() {
		clearInterval(countDown);
		window.history.back();
	}
}